package com.yingside.collection;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.Comparator;

public class TeacherComparator implements Comparator<Teacher> {
    @Override
    public int compare(Teacher t1, Teacher t2) {
        return t1.getId() - t2.getId();
    }
}
